﻿using XiaoYuJi.Entity;
using XiaoYuJi.Entity.Dtos.SystemDtos;
using XiaoYuJi.Entity.SysEntitys;

namespace XiaoYuJi.Service.SysServices;
public interface IAuthService
{
    /// <summary>
    /// 后台管理系统登录
    /// </summary>
    /// <param name="userName">用户名</param>
    /// <param name="password">密码</param>
    /// <returns></returns>
    Task<ApiResult<AuthDto>> AdminLogin(string userName, string password);


}
